import { request } from '@/plugins/axios'
import { InteractiveList } from './interface'

export const fetchInteractiveList = async (meetingMoid: string) =>
	request<InteractiveList>({
		url: `/mcc/${meetingMoid}/mts`,
		method: 'get',
	}).then((res) => (res.success && res.list ? res.list : undefined))
